enum direction{
    up = 0,
    dowm,
    left,
    right
}
console.log(direction.left)